﻿@using Kugar.UI.Web.AdminLTE
@using Kugar.UI.Web.AdminLTE.PageControls

@{
    Layout = AdminLTEUI.LayoutPath.LayoutWithIFramePath;

    WebUI.Title = "管理系统";

    WebUI.Menus = new PageMenu[]
    {
        new PageMenu("iframe-测试1", "/IFrameTest/InnerTest1", "InnerTest1"),
        new PageMenu("iframe-测试2", "/IFrameTest/InnerTest2", "InnerTest2"),
        new PageMenu()
        {
            Title = "Parent",
            ChildMenus = new[]
            {
                new PageMenu()
                {
                    Title = "Child_One",
                    GotoUrl = "/IFrameTest/Child1",
                    Key = "Child1"
                },
                new PageMenu()
                {
                    Title = "Child_Two",
                    GotoUrl = "/IFrameTest/Child2",
                    Key = "Child2"
                },
            }
        },
        new PageMenu("AdminList", "/AdminCore/AdminLogin/AdminList?IsIFrame=true", "AdminList"),
        new PageMenu("ChangePassword", "/AdminCore/AdminLogin/ChangePassword?IsIFrame=true", "ChangePassword"),
    };
}


@section styles{ 
    @*<style>
        .t{
            width:100px;
            height:50px;
            margin: 50px;
            text-align:center;
            color:#fff;
            line-height:50px;
            background-color:red;
            position:relative;
        }
        .t:before{
            content:'';
            display:block;
            width:35px;
            height:50px;
            position:absolute;
            transform:skewX(-30deg);
            background:red;
            border-top-left-radius:8px;
            left:-20px;
            top:0;
        }
        .t:after{
            content:'';
            display:block;
            width:35px;
            height:50px;
            position:absolute;
            transform:skewX(30deg);
            background:red;
            border-top-right-radius:8px;
            top:0;
            right:-20px;
        }

    </style>*@
}